﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BigMonitoringWarningApi.Model.ApiResult
{
    public class QueryPageDto
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;
        /// <summary>
        /// 关键词
        /// </summary>
        public object KeyWord { get; set; }
    }
    /// <summary>
    /// 带起始时间的分页查询
    /// </summary>
    public class QueryPageAndTimeDto : QueryPageDto
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
